package com.tjwx;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.web.servlet.ServletComponentScan;

/**
 * 启动类
 */
@SpringBootApplication
@ServletComponentScan
@MapperScan(value ={"com.tjwx.dao"})
public class App {
    public static void main( String[] args )
    {
        SpringApplication springApplication =new SpringApplication(App.class);
        springApplication.run(args);

//        ApplicationContext context = SpringApplication.run(com.tjwx.App.class,args);
        System.out.println("****************************************************************");
        System.out.println("=====================test-com.tjwx.service 项目已启动====================");
        System.out.println("****************************************************************");
    }
}
